.home {
    min-height: calc(100vh - 84px);
    padding: 10px;
    margin: 10px;
    background-color: #FFF;
    .videos {
        border: 1px solid #eee;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
        grid-auto-rows: calc(100vh - 550px) ;
        .video-item {
            position: relative;
            padding: 10px;
            border: 1px solid #eee;
            .video-title {
                position: absolute;
                color: #fff;
                left: 50%;
                transform: translateX(-50%);
            }
            .video {
                height: 100% !important;
            }
        }
    }
    .one-key-up {
        cursor: pointer;
        color: green;
        // font-size: 24px;
    }
    .one-key-down {
        cursor: pointer;
        color: red;
        // font-size: 24px;
    }
    .lifting-groups {
        margin-top: 20px;
        width: calc(100vw - 400px);
        overflow-x: scroll;
        .lifting-group {
            border: 1px dashed;
            position: relative;
            display: flex;
            padding: 20px;
            margin-left: 20px;
            &-name {
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
            }
            .lifting {
                width: 90px;
                margin-left: 20px;
            }
            .lifting:first-of-type {
                margin-left: 0;
            }
            .error-lift {
                position: absolute;
                color: red;
                font-size: 32px;
                left: 50%;
                top: 30%;
                transform: translate(-50%)
            }
        }
        .ungroup-lift {
            position: relative;
            margin-right: 20px;
            .lifting {
                width: 90px;
                margin-left: 40px;
            }
            .lifting:first-of-type {
                margin-left: 0;
            } 
            .error-lift {
                position: absolute;
                color: red;
                font-size: 32px;
                left: 50%;
                top: 25%;
                transform: translate(-50%)
            }
            .error-lift-font {
                position: absolute;
                left: 50%;
                top: 40%;
                transform: translate(-50%);
                color: red;
            }
            .error-lift-operate {
                color: red;
                font-size: 32px;
                margin-top: 40px;
            }
        }
    }
    
    .alarm-tag {
        position: fixed;
        right: 0;
        top: 50%;
        width: 36px;
        padding: 10px;
        background-color: #1890ff;
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
    }
}
.confirm-alarm {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #cccccc9e;
    // display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.alarm-card:hover .confirm-alarm {
    display: flex;
}